package com.tedu.egmybatis2.mappers;

import com.tedu.egmybatis2.poji.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insertProduct(Product product);

    Product selectSinglgProduct(Integer id);

    int deleteById(Integer id);

    List<Product>selectManyProduct();
}
